package cn.kent.controller;

import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/test")
public class TestController {
    @GetMapping("/hello")
    public String test01() {
        return "/test/hello";
    }

    @PostMapping("/hello")
    public String test02(@RequestBody String id) {
        return "/test/hello-post";
    }
}
